<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jchome.jsprun.com/jch" prefix="jch"%>
<c:if test="${sGlobal.inajax==0}">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>${navtitle}<c:if test="${not empty sNames[space.uid]}">${sNames[space.uid]} - </c:if>${sConfig.sitename} - Powered by JavaCenter Home</title>
 <meta http-equiv="content-type" content="text/html; charset=${jchConfig.charset}">
 <meta http-equiv="x-ua-compatible" content="ie=7">
 <script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
 <script language="javascript" type="text/javascript" src="source/script_common.js"></script>
 <script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
 <script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
 <script language="javascript" type="text/javascript" src="source/script_face.js"></script>
 <script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
 <style type="text/css">
  @import url(template/default/style.css);
  @import url(template/default/gift.css);
  <c:if test="${!empty tpl_css}">@import url(template/default/${tpl_css}.css);</c:if>
  <c:choose>
   <c:when test="${not empty sGlobal.space_theme}">@import url(theme/${sGlobal.space_theme}/style.css);</c:when>
   <c:when test="${sConfig.template != 'default'}">@import url(template/${sConfig.template}/style.css);</c:when>
  </c:choose>
  <c:if test="${!empty sGlobal.space_css}">${sGlobal.space_css}</c:if>
 </style>
 <link rel="shortcut icon" href="favicon.ico">
 <link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.jsp?rsd=${space.uid}">
</head>
<body>
 <div id="append_parent"></div>
 <div id="ajaxwaitid"></div>
 <div id="header">
  <c:if test="${!empty globalAd.header}"><div id="ad_header">${jch:showAd(globalAd.header)}</div></c:if>
  <div class="headerwarp">
   <h1 class="logo"><a href="index.jsp"><img src="template/${sConfig.template}/image/logo.gif" alt="${sConfig.sitename}"></a></h1>
   <ul class="menu">
  <c:choose>
   <c:when test="${sGlobal.supe_uid>0}">
    <li><a href="space.jsp?do=home">首页</a></li>
    <li><a href="space.jsp?do=friend">好友</a></li>
    <li><a href="space.jsp">个人主页</a></li>
    <li class="topdropmenu" id="huiyuan" onmouseover="showMenu(this.id)"><a href="space.jsp?do=top&view=updatetime">会员</a></li>
    <li class="topdropmenu" id="topmenu" onmouseover="showMenu(this.id)"><a href="space.jsp?do=top">排行榜</a></li>
    <li><a href="index.jsp">真实故事</a></li>
    <li><a href="index.jsp">会员相册</a></li>
  
   </c:when>
   <c:otherwise>
   <li><a href="index.jsp">首页</a></li>
   <li><a href="space.jsp">个人主页</a></li>
   <li class="topdropmenu" id="huiyuan" onmouseover="showMenu(this.id)"><a href="space.jsp?do=top&view=updatetime">会员</a></li>
   <li class="topdropmenu" id="topmenu" onmouseover="showMenu(this.id)"><a href="space.jsp?do=top">排行榜</a></li>
   <li><a href="index.jsp">真实故事</a></li>
   <li><a href="index.jsp">会员相册</a></li>
  </c:otherwise>
  </c:choose> 
  
    <ul id="topmenu_menu" class="topdropmenu_drop" style="display:none">
    <li><a href="space.jsp?do=top">竞价排行</a></li>
    <li><a href="space.jsp?do=top&view=friendnum">魅力排行榜</a></li>
    <li><a href="space.jsp?do=top&view=viewnum">猎金排行榜</a></li>
    <li><a href="space.jsp?do=top&view=viewnum">猎艳排行榜</a></li>
    <!-- <li class="lastlist"><a href="space.jsp?do=top&view=updatetime">全部成员</a></li> -->
	</ul>
	
	
	<ul id="huiyuan_menu" class="topdropmenu_drop" style="display:none">
    <li><a href="space.jsp?do=top&view=mm"">魅力女性</a></li>
    <li><a href="space.jsp?do=top&view=gg">优雅绅士</a></li>
    <li><a href="index.jsp">身在同城</a></li>
    <li><a href="space.jsp?do=top&view=online">在线会员</a></li>
	</ul>
  
  
  
  <c:if test="${!empty sGlobal.appmenu}">
   <c:choose>
    <c:when test="${!empty sGlobal.appmenus}"><li class="dropmenu" id="jcappmenu" onclick="showMenu(this.id)"><a href="javascript:;">站内导航</a></li></c:when>
    <c:otherwise><li><a target="_blank" href="${sGlobal.appmenu.url}" title="${sGlobal.appmenu.name}">${sGlobal.appmenu.name}</a></li></c:otherwise>
   </c:choose>
  </c:if>
  <c:choose>
   <c:when test="${sGlobal.supe_uid>0}">
    <li><a href="space.jsp?do=pm${sGlobal.member.newpm>0 ? '&filter=newpm' : ''}" id="msgtips">消息${sGlobal.member.newpm>0 ? '(新)' : ''}</a></li>
    <c:if test="${sGlobal.member.allnotenum>0}"><li class="notify" id="membernotemenu" onmouseover="showMenu(this.id)"><a href="space.jsp?do=notice">${sGlobal.member.allnotenum}个提醒</a></li></c:if>
   </c:when>
   <c:otherwise><li><a href="help.jsp">帮助</a></li></c:otherwise>
  </c:choose>
   </ul>
   <div class="nav_account">
  <c:choose>
   <c:when test="${sGlobal.supe_uid>0}">
    <a href="space.jsp?uid=${sGlobal.supe_uid}" class="login_thumb">${jch:avatar1(sGlobal.supe_uid,sGlobal,sConfig)}</a>
    <a href="space.jsp?uid=${sGlobal.supe_uid}" class="loginName">${sNames[sGlobal.supe_uid]}</a>
    <c:if test="${sGlobal.member.credit>0}"><a href="cp.jsp?ac=credit" style="font-size:11px;padding:0 0 0 5px;"><img src="image/credit.gif">${sGlobal.member.credit}</a></c:if><br>
    <c:if test="${sConfig.closeinvite==0}"><a href="cp.jsp?ac=invite">邀请</a></c:if>
    <a href="cp.jsp?ac=task">任务</a> 
    <a href="cp.jsp?ac=magic">道具</a>
    <a href="cp.jsp">设置</a> 
    <a href="cp.jsp?ac=common&op=logout&uhash=${sGlobal.uhash}">退出</a>
   </c:when>
   <c:otherwise>
    <a href="do.jsp?ac=${sConfig.register_action}" class="login_thumb">${jch:avatar1(sGlobal.supe_uid,sGlobal,sConfig)}</a> 欢迎您<br>
    <a href="do.jsp?ac=${sConfig.login_action}">登录</a> | 
    <a href="do.jsp?ac=${sConfig.register_action}">注册</a>
   </c:otherwise>
  </c:choose>
   </div>
  </div>
 </div>
 <div id="wrap">
</c:if>